#define _CRT_SECURE_NO_WARNINGS 1

#include"Sort.h"

void TestBubbleSort()
{
	int arr[] = { 1,2,3,8,9,7,6,4,5,0 };
	int sz = sizeof(arr) / sizeof(int);
	BubbleSort(arr, sz);

	PrintArray(arr, sz);
}

void TestQuickSort()
{
	int arr[] = { 1,2,3,8,9,7,6,4,5,0 };
	int sz = sizeof(arr) / sizeof(int);
	QuickSort(arr, 0,sz-1);

	PrintArray(arr, sz);
}

void TestQuickSortNonR()
{
	int arr[] = { 1,2,3,8,9,7,6,4,5,0 };
	int sz = sizeof(arr) / sizeof(int);
	QuickSortNonR(arr, 0, sz - 1);

	PrintArray(arr, sz);
}


int main()
{
	 TestBubbleSort();
	TestQuickSort();
	TestQuickSortNonR();
	return 0;
}